﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication3.Administraror
{
    public partial class NewdriverRegistrationform : Form
    {
        public NewdriverRegistrationform()
        {
            InitializeComponent();
        }

        private void drivermastertableBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.drivermastertableBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.nauferTransactionDemoDBDataSet1);
            MessageBox.Show("Sucess");
            this.drivermastertableTableAdapter.Fill(this.nauferTransactionDemoDBDataSet1.drivermastertable);

        }

        private void NewdriverRegistrationform_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'nauferTransactionDemoDBDataSet1.drivermastertable' table. You can move, or remove it, as needed.
            this.drivermastertableTableAdapter.Fill(this.nauferTransactionDemoDBDataSet1.drivermastertable);

        }

        private void drivermastertableBindingSource_CurrentChanged(object sender, EventArgs e)
        {

        }



      




    }
}
